[17.0][FWD] endpoint: forward-port querystring params usage#114
[17.0][FWD] endpoint: forward-port querystring params usage#114SilvioC2C wants to merge 3 commits into
endpoint: forward-port querystring params usage#114Conversation
|
Hi @simahawk, |
|
NB: tests are failing for reasons unrelated to these commits |
Compatibility w/ OCA/web-api#114
simahawk
left a comment
There was a problem hiding this comment.
can we have a test update?
| handler = self_with_user._get_handler() | ||
| try: | ||
| res = handler(request) | ||
| # In case the handler does not support params |
There was a problem hiding this comment.
I would simply let it fail. Or if you really want you can catch a TypeError and log it. But I would just let it break. Beside, I doubt anyone did ever implement a different handler :)
|
@simahawk would it be better to make a commit in the v14 PR and port it here, or would suggest a commit here for simplicity? |
|
we can backport it later |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Forward-port of #80
Also includes renaming usages of
paramstoquerystring_params